function SetListBlockSearchButtonFlow(context){
    const listBlock = quickams.checkData(context, "listBlock");

    let count = 0;
    for(let prop in listBlock["operations"]){
        if(listBlock["operations"][prop]["slot"]==="searchs"){
            count++;
        }
    }
    if(count===0){
        return;
    }
    listBlock["operations"]["search"] = {
        "slot": "searchs",
        "type": "button",
        "props": {
            "type": "primary",
            "icon": "ams-icon-search",
        },
        "label": "",
        "event": "setSearch list:1"
    };
    listBlock["operations"]["reset"] = {
        "slot": "searchs",
        "type": "reset",
        "label": "",
        "props": {
            "type": "warning",
            "icon": "ams-icon-error",
        },
    };
}